package com.second.statistics.service.impl;

import com.second.common.pojo.Course;
import com.second.statistics.dao.StatCourseDao;
import com.second.statistics.service.StatCourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: second-education-parent
 * @description:
 * @author: 王子朋
 * @create: 2023-05-29 14:58
 **/
@Service
public class StatCourseServiceImpl implements StatCourseService {
    @Autowired
    private StatCourseDao statCourseDao;

    @Override
    public List<Course> findAll() {
        List<Course> list = statCourseDao.selectList(null);
        return list;
    }



}
